package com.cyf.db.bean;

import java.util.Date;

/**
 * app用户注册的车辆
 * Created by cage on 2017/2/16.
 */
public class AppCar {
    //1为蓝牌 2为黄牌 3为白牌 4为黑牌 5为绿牌 0未知
    public static final Integer COLOR_BULE = 1;
    public static final Integer COLOR_YELLOW = 2;
    public static final Integer COLOR_WHITE = 3;
    public static final Integer COLOR_BLANK = 4;
    public static final Integer COLOR_GREEN = 5;
    public static final Integer COLOR_UNKOWN = 0;


    private Integer id;
    private String plate;
    private String type;    // 类型
    private int color;      // 颜色
    private String brand;   // 品牌
    private String carcode;	// 车架号
    private String cardrive; // 发动机号

    /* *    新增    */
    /**
     * 行驶里程
     */
    private String mileage;
    /**
     * 年检时间
     */
    private String checkTime;
    /**
     * 注册日期
     */
    private String registerTime;
    /**
     * 是否是新能源 1是 0否
     */
    private Integer isEnergy;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 创建时间
     */
    private Date createTime;


//    String caridentity;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPlate() {
        return plate;
    }

    public void setPlate(String plate) {
        this.plate = plate;
    }

    public AppCar(){}

    public AppCar(String plate) {
        this.plate = plate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getCarcode() {
        return carcode;
    }

    public void setCarcode(String carcode) {
        this.carcode = carcode;
    }

    public String getCardrive() {
        return cardrive;
    }

    public void setCardrive(String cardrive) {
        this.cardrive = cardrive;
    }

    public String getMileage() {
        return mileage;
    }

    public void setMileage(String mileage) {
        this.mileage = mileage;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getIsEnergy() {
        return isEnergy;
    }

    public void setIsEnergy(Integer isEnergy) {
        this.isEnergy = isEnergy;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
